const mongoose = require('mongoose');
mongoose.connect('mongodb+srv://2956239093:zcy.521521@cluster0.a6g8b.mongodb.net/travelApp').then(() => {
    console.log('MongoDB connected successfully');
}).catch((err) => {
    console.error('MongoDB connection failed:', err);
});

module.exports = mongoose

